package com.yb0os1.serve;

import com.yb0os1.dto.EmployeeDTO;
import com.yb0os1.dto.EmployeeEditPasswordDTO;
import com.yb0os1.dto.EmployeeLoginDTO;
import com.yb0os1.entity.Employee;
import com.yb0os1.result.PageResult;
import com.yb0os1.result.Result;
import org.springframework.web.multipart.MultipartFile;

public interface EmployeeServe {
    Employee login(EmployeeLoginDTO employeeLoginDTO);

    void addEmployee(EmployeeDTO employeeDTO);

    PageResult pageSelect(String name, Integer page, Integer pageSize);

    void isOpenCloseAccount(Integer status, Long id);

    Result<Employee> getById(Long id);

    void updateUser(EmployeeDTO employeeDTO);

    void editPassword(EmployeeEditPasswordDTO employeeEditPasswordDTO);

}
